package com.exde.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("admin_base")
public class AdminBase {

    @ApiModelProperty(name = "id",required = false,hidden = true)
    @TableId(value = "id",type = IdType.AUTO)
    private int id ;

    @ApiModelProperty(name = "uid",required = false,hidden = true)
    @TableField(value = "uid")
    private String uid ;

    @ApiModelProperty(name = "userPhone",required = true,value = "管理员手机号",example = "18700829867")
    @TableField(value = "user_phone")
    private String userPhone ;

    @ApiModelProperty(name = "userEmail",required = true,value = "管理员手机号",example = "18700829867")
    @TableField(value = "user_email")
    private String userEmail ;

    @ApiModelProperty(name = "userPassword",value = "管理员密码(不设置默认为手机后6位)",required = false)
    @TableField(value = "user_password")
    private String userPassword ;

    @ApiModelProperty(name = "wechatNum",value = "管理员微信账号",required = true)
    @TableField(value = "wechat_num")
    private String wechatNum ;

    @ApiModelProperty(hidden = true)
    @TableField(value = "create_time")
    private String createTime ;

    @ApiModelProperty(hidden = true)
    @TableField(value = "update_time")
    private String updateTime ;
}
